package com.engine4cloud.tdf.education.dto.query;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 心理辅导出席表
 *
 * @author wenjie
 * @date 2024-08-13 16:58:05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "心理辅导出席表")
public class PsychologicalCounsellingAttendQuery implements Serializable {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 心理辅导编号
     */
    @Schema(description = "心理辅导编号")
    @NotBlank(message = "心理辅导编号不能为空")
    private String fdbh;

    /**
     * 矫正对象编号
     */
    @Schema(description = "矫正对象编号")
    private String rybh;

    /**
     * 矫正对象姓名
     */
    @Schema(description = "矫正对象姓名")
    private String xm;

    public PsychologicalCounsellingAttendQuery(String activityCode) {
        this.fdbh = activityCode;
    }
}